﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Sinbiota.Web.Models.OccurrenceFormModel>" %>
<%@ Import Namespace="Localization" %>
<%@ Import Namespace="SinBiota.Model.Entities" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%: Strings.Edit %> <%: Strings.Occurrence %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   <div id="OccurrenceForm">
    <h2><%: Strings.Edit %> <%: Strings.Occurrence %></h2>
 
       <% Html.EnableClientValidation(); %> 
        <div class="wizard_container">
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
            <%: Html.EditorForModel() %>
        <input id="OccurrenceSubmit" type="submit" value="OK" class="finish" />
    <% } %>

    </div>
    </div>
    <% Html.RenderPartial("AjaxCreateOccurrenceAuthor", new OccurrenceAuthor(), new ViewDataDictionary {{"ParentEntity", "Occurrence"}}); %>
    <div class="small button radius">
        <%: Html.ActionLink(Strings.BackToList, "Index") %>
    </div>
</asp:Content>
